package com.dhsc.local.dao.impl.xgfw;

import java.util.List;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.dhsc.domain.ywzx.xgfw.XgcxKhzjVo;
import com.dhsc.local.dao.xgfw.IXgcxKhzjDao;

@Repository("xgcxkhzjdao")
public class XgcxKhzjDaoImpl implements IXgcxKhzjDao{
	
	@Autowired
	private SqlSessionTemplate localSqlSessionTemplate;

	@Override
	public List<XgcxKhzjVo> queryXgcxKhzjByAll(XgcxKhzjVo y) {
		return localSqlSessionTemplate.selectList("XgcxKhzjMapper.queryXgcxKhzjByAll", y);
	}
	
	@Override
	public List<XgcxKhzjVo> queryXgcxLxfsByAll(XgcxKhzjVo y) {
		return localSqlSessionTemplate.selectList("XgcxKhzjMapper.queryXgcxLxfsByAll", y);
	}
}